#ifndef SVGVIEWER_H
#define SVGVIEWER_H

#include <QMainWindow>
#include "svgwidget.h"

namespace Ui {
class SvgViewer;
}

class SvgViewer : public QMainWindow
{
    Q_OBJECT

public:
    explicit SvgViewer(QWidget *parent = nullptr);
    ~SvgViewer();

    void mousePressEvent(QMouseEvent *e);
    void mouseMoveEvent(QMouseEvent *e);

private slots:
    void on_pushButton_clicked();

private:
    Ui::SvgViewer *ui;
    SvgWidget *svgWidget;
    QPoint mousePressPos;
    QPoint scrollBarValuesOnMousePress;
};

#endif // SVGVIEWER_H
